<?php include atemplate("header");?>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" bgcolor="#969696"><strong>作 品 管 理</strong></td>
      </tr>
</table>
    <p><br />
        <br />
    </p>
<form action="index.php?do=image&job=edit" method="post" enctype="multipart/form-data">
    <table width="660"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="150">标　　题：</td>
        <td align="left"><input type="text" name="title" id="title" value="<?php echo $title;?>" datatype="limit" min="2" max="50" msg="标题最少为2个字符，最长为50个字符" require="true"/></td>
      </tr>
      <tr>
        <td>照　　片：</td>
        <td align="left"><input type="file" name="imageurl" id="iamgeurl"/></td>
      </tr>
      <tr>
        <td>作　　者：</td>
        <td align="left"><input type="text" name="author" id="author" value="<?php echo $author;?>" datatype="limit" min="2" max="50" msg="作者最少为2个字符，最长为50个字符"/></td>
      </tr>
      <tr>
        <td>电　　话：</td>
        <td align="left"><input type="text" name="phone" datatype="limit|number" min="2" max="50" msg="电话只能位数字" min="2" max="50" require="true" id="phone" value="<?php echo $phone?>"/></td>
      </tr>
      <!--<tr>
        <td>作　　品：</td>
        <td align="left"><textarea name="content" id="content"><?php echo $content?></textarea></td>
      </tr>-->
      <tr>
        <td>描　　述：</td>
        <td align="left"><textarea name="description" id="description" cols='35' rows='10'><?php echo $description?></textarea></td>
      </tr>

      <tr>
        <td>投票数量：</td>
        <td align="left"><input type="text" name="votenum" id="votenum" value="<?php echo $votenum?>"/></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td align="left"><input type="hidden" name="step" id="step" value="2"><input type="hidden" name="id" id="id" value="<?php echo $id;?>"><input type="submit" value=" 提 交 "/></td>
      </tr>
    </table>
</form>
<script language="javascript">
$(function(){
	$("form").checkForm(1);
});
</script>
<?php include atemplate("footer");?>
